<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String active = request.getParameter("active");
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
 %>
 <div class="panel shadow panel-default radius mt-20">
     <div class="panel-header">选项</div>
     <div class="panel-body">
         <ol class="f-18 text-c">
             <li class="c-primary <%if("user_center".equals(active)){%>current<%}%>"><a href="<%=basePath %>/user/center">用户中心</a></li>
             <li class="c-primary <%if("vote_add".equals(active)){%>current<%}%>"><a href="<%=basePath %>/vote/add">新增投票</a></li>
             <li class="c-primary <%if("vote_list".equals(active)){%>current<%}%>"><a href="<%=basePath %>/vote/list">投票列表</a></li>
             <li class="c-primary <%if("link_add".equals(active)){%>current<%}%>"><a href="<%=basePath %>/link/add">新增友链</a></li>
             <li class="c-primary <%if("link_list".equals(active)){%>current<%}%>"><a href="<%=basePath %>/link/list" target='_blank'>友链列表</a></li>
<!--              <li class="c-primary <%if("advice_add".equals(active)){%>current<%}%>"><a href="#">新增意见</a></li> -->
<!--              <li class="c-primary <%if("advice_list".equals(active)){%>current<%}%>"><a href="#">意见列表</a></li> -->
             <li class="c-primary"><a href="<%=basePath %>/article/contact" target="_blank">联系我</a></li>
             <li class="c-primary"><a href="<%=basePath %>/article/versionInfo" target="_blank">版本信息</a></li>
             <li class="c-primary"><a href="<%=basePath %>/article/help" target="_blank">帮助</a></li>
             <li class="c-primary"><a href="${ctx}/logout" target="_blank">登出</a></li>
         </ol>
     </div>
 </div>
